package com.neu.doc;

import java.util.List;

import com.neu.domain.ShoppingOrder;
import com.neu.domain.ShoppingOrderGoods;
import com.neu.vo.UserVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "返回订单详情",description = "返回订单详情")
public class AdminOrderController_detail {
	@ApiModelProperty(value="错误编码，成功是0",dataType="integer")
	private Integer errno=0;
	@ApiModelProperty(value="错误信息描述",dataType="string")
	private String errmsg="成功";
	@ApiModelProperty(value = "订单详情数据",dataType = "OrderData")
	private OrderData data;
	
	public Integer getErrno() {
		return errno;
	}

	public void setErrno(Integer errno) {
		this.errno = errno;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public OrderData getData() {
		return data;
	}

	public void setData(OrderData data) {
		this.data = data;
	}
	@ApiModel(value = "订单详情数据",description = "订单详情数据")
	public class OrderData{
		@ApiModelProperty(value = "订单用户信息",dataType ="UserVo" )
		private UserVo user;
		@ApiModelProperty(value = "订单信息",dataType ="ShoppingOrder" )
		private ShoppingOrder order;
		@ApiModelProperty(value = "订单商品信息",dataType ="List<ShoppingOrderGoods>" )
		private List<ShoppingOrderGoods> orderGoods;
		public UserVo getUser() {
			return user;
		}
		public void setUser(UserVo user) {
			this.user = user;
		}
		public ShoppingOrder getOrder() {
			return order;
		}
		public void setOrder(ShoppingOrder order) {
			this.order = order;
		}
		public List<ShoppingOrderGoods> getOrderGoods() {
			return orderGoods;
		}
		public void setOrderGoods(List<ShoppingOrderGoods> orderGoods) {
			this.orderGoods = orderGoods;
		}
		
	}
}
